package top.gbiot.scan.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadRowHeight(20)
@ColumnWidth(20)
@ContentRowHeight(15)
public class Device2 {

    @ExcelProperty(index=0, value = "编号")
    private String sno;

    @ExcelProperty(index=1, value = "名称")
    private String name;

    @ExcelProperty(index=2, value = "IP地址")
    private String ip;

    @ExcelProperty(index=3, value = "品牌")
    private String brand;

    @ExcelProperty(index=4, value = "规格型号")
    private String spec;


}
